#pragma once

namespace tmms
{
    namespace base
    {
        class NonCopyable
        {
            protected:
            NonCopyable() {}
            ~NonCopyable() {}
            NonCopyable(const NonCopyable&) = delete;   // 告诉编译器不需要这个函数
            NonCopyable &operator=(const NonCopyable&) = delete;
        };
    }
}